package com.ruoyi.system.domain.MES;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: mes告警实体接收类
 * @author: zhengxiong.jiang
 * @createDate: 2023/3/22
 * @version: 1.0
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mes_aralm")
public class MesAralm implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "aralm_id")
    private Long aralmId;

    @ApiModelProperty(value = "消息编号")
    private String FMessageId;

    @ApiModelProperty(value = "消息类型")
    private String FMessageType;

    @ApiModelProperty(value = "消息类别")
    private String FMessageClass;

    /** 产线名称 */
    @ApiModelProperty(value = "产线名称")
    private String FProdLineName;

    @ApiModelProperty(value = "产线编码")
    private String FProdLineNo;

    /** 工位名称 */
    @ApiModelProperty(value = "工位名称")
    private String FProcessName;

    @ApiModelProperty(value = "工位编码")
    private String FProcessID;

    @ApiModelProperty(value = "消息内容")
    private String FMessage;

    @ApiModelProperty(value = "推送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date FPushTime;

    @ApiModelProperty(value = "备注")
    private String Remark;

}
